cdef enum JobStatus:
	INITIALIZED, STARTED, FINISHED, FINALIZED
	
cdef class BourbonObject:
	cpdef object results(self)
	cpdef object params(self)
	
cdef class Job(BourbonObject):
	cdef JobStatus status
	cdef object _params
	
	cpdef object results(self)
	
	cpdef object params(self)
	
	cpdef add_param(self, name, value)
	
	cpdef int start(self)
	
	cpdef advance(self, double percent=?)
	
	cpdef int finalize(self)
	
	cpdef int is_finalized(self)
	cpdef int is_started(self)
	cpdef int is_finished(self)